package com.tengju.user.domain.model.sign;

import com.tengju.user.domain.model.user.UserIdCode;

public interface StarContractRepository {

    StarContractInfo getByIdCodeAndType(UserIdCode idCode, Integer contractType);

    void update(StarContractInfo existStarContractInfo);

    void insert(StarContractInfo starContractInfo);

    int countByIdCodeStatus (UserIdCode idCode, StarContractStatus starContractStatus);
}
